<template>
  <div>
    <mt-header fixed title="设置中心">
      <router-link to="/tabbar/user" slot="left">
        <mt-button icon="back"></mt-button>
      </router-link>
    </mt-header>
     <ul class="mui-table-view">
      <li class="mui-table-view-cell" @click="modifyPhone">
        <a class="mui-navigate-right">更改手机号码</a>
      </li>
      <li class="mui-table-view-cell" @click="modifyCode">
        <a class="mui-navigate-right">修改登录密码</a>
      </li>
      <li class="mui-table-view-cell" @click="setServeAddress">
        <a class="mui-navigate-right">设置服务器地址</a>
      </li>
      <li class="mui-table-view-cell" @click="goLogin">
        <a class="mui-navigate-right">返回登录选择页面</a>
      </li>
     
    </ul>
  </div>
</template>
<script>
export default {
    data(){
        return {

        }
    },
    methods: {
      setServeAddress(){
        this.$router.push({ name: "setServAddress"})
      },
        modifyCode(){
            this.$router.push({ name: "modifyCode"})
        },
        modifyPhone(){
            this.$router.push({ name: "modifyPhone"})
        },
        goLogin(){
          this.$router.push({ name: 'login'})
        }
    }
};
</script>
<style scoped>
</style>
